package com.fruit.pojo.problem;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Problem implements Serializable {
	
	private static final long serialVersionUID = 1223531963338537512L;
	private int id;
	private String problemName;
	private int parentId;
	private int seat;
	private int sonId;
	private int sonSeat;
	private String somProblemName;
	private int sonParentId;
	private List<Problem> problemList = new ArrayList<Problem>();
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getProblemName() {
		return problemName;
	}
	public void setProblemName(String problemName) {
		this.problemName = problemName;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public int getSeat() {
		return seat;
	}
	public void setSeat(int seat) {
		this.seat = seat;
	}
	public int getSonId() {
		return sonId;
	}
	public void setSonId(int sonId) {
		this.sonId = sonId;
	}
	public int getSonSeat() {
		return sonSeat;
	}
	public void setSonSeat(int sonSeat) {
		this.sonSeat = sonSeat;
	}
	public String getSomProblemName() {
		return somProblemName;
	}
	public void setSomProblemName(String somProblemName) {
		this.somProblemName = somProblemName;
	}
	public int getSonParentId() {
		return sonParentId;
	}
	public void setSonParentId(int sonParentId) {
		this.sonParentId = sonParentId;
	}
	public List<Problem> getProblemList() {
		return problemList;
	}
	public void setProblemList(List<Problem> problemList) {
		this.problemList = problemList;
	}
	
}
